package cn.lj.dao;

import cn.lj.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author lj
 * @Description: 用户持久层接口
 * @date 2020-11-26 19:49
 * @QQ 851477108
 */

@Mapper
@Repository
public interface UserDao {

    User findByUsernameAndPassword(@Param("username") String username,@Param("password") String password);
}
